import request from "../utils/request";
//角色搜索
export const searchRole=async (data)=>{

	return request.postRequest("manager/role/list",data)
	
}
//删除角色
export const deletRoleFn=async (data)=>{

	return request.postRequest("manager/role/delete",data)
	
}
// addRoleFn
//添加角色
export const addRoleFn=async (data)=>{

	return request.postRequest("manager/role/insert",data)
	
}
//修改角色
export const updateRoleFn=async (data)=>{

	return request.postRequest("manager/role/update",data)
	
}